package me.firstapp.repository.shop;

import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.shop.DistributeCall;
import me.firstapp.repository.base.EntityRepository;

public interface DistributeCallRepository extends EntityRepository<DistributeCall> {

	Page<DistributeCall> findDistributeCallPage(Integer pageNo, Integer pageSize, Map<String, Object> searchParams,
			String sortParam, String sortType, Long apiClientId);

	DistributeCall findByMemberIdAndOrderNo(Long memberId, String orderNo, Long apiClientId);
	
	DistributeCall findByOrderNo(String orderNo, Long apiClientId);
}
